<template >
  <div style="height: 100%; padding: 10px">
    <iframe
      :src="url"
      scrolling="no"
      marginheight="0"
      marginwidth="0"
      class="iframe"
    ></iframe>
  </div>
</template>
<script>
export default {
  name: "nodeDetails",
  data() {
    return {
      url: "",
    };
  },
  mounted() {
    this.url = this.$api.monitorApi.grafanaUrl + this.$route.params.name;
  },
};
</script>
<style  scoped>
.iframe {
  width: 100%;
  height: calc(100vh - 90px);
  border: 1px saddlebrown;
}
</style>
